
// // #ifndef VUE3
// import Vue from 'vue'
// import App from './App'

// Vue.config.productionTip = false

// App.mpType = 'app'

// const app = new Vue({
//     ...App
// })
// app.$mount()
// // #endif
import uniNavBar from "@/uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar.vue";

Vue.component('uni-nav-bar',uniNavBar)



import Vue from 'vue'
import App from './App'
//数据管理中心
import store from '@/store'
Vue.prototype.$store = store;
// 工具
import '@/plugins/utils.js';
//权限配置中心
import base from '@/config/baseUrl'
Vue.prototype.$base = base;
//挂载全局http请求
import $http from '@/config/requestConfig'
import $httpNew from '@/config/requestConfigNew.js'
Vue.prototype.$http = $http;
Vue.prototype.$httpNew = $httpNew;

import noshare from '@/config/noshare.js'
Vue.mixin(noshare)
// import charts from '@/config/charts.js'
// Vue.mixin(charts)


// #ifdef MP-WEIXIN
//挂载全局微信分享
import { wxShare } from '@/config/utils'
Vue.prototype.wxShare = wxShare;
// #endif
//判断是否登录
import { judgeLogin } from '@/config/login';
Vue.prototype.judgeLogin = judgeLogin;
Vue.config.productionTip = false;
// #ifdef H5
//微信SDK
import '@/plugins/wxJsSDK.js';
// #endif
//全局组件
// import MescrollBody from "@/components/mescroll-uni/mescroll-body.vue";
// Vue.component("mescroll-body", MescrollBody);
App.mpType = 'app'

const app = new Vue({
	store,
	...App
})
app.$mount();
// 去除打印
if (process.env.NODE_ENV === 'development') {
	// console.log = () => {}
} else if (process.env.NODE_ENV === 'production') {
	// console.log = () => {}
	// console.warn = () => {}
}
// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif